import request from "@/utils/fetch"

export function getCoachMessByStudent(params) {
    return request({
        url: "/qdjx/student/getCoachMessByStudent.do",
        method: "get",
        params,
    })
}

export function saveStudentComplaint(params) {
    return request({
        url: "/qdjx/student/saveStudentComplaint.do",
        method: "post",
        data: params
    })
}
export function getComplaintRecord(params) {
    return request({
        url: "/qdjx/student/getComplaintRecord.do",
        method: "get",
        params,
    })
}
export function deleteComplaintRecord(params) {
    return request({
        url: "/qdjx/student/deleteComplaintRecord.do",
        method: "post",
        data: params
    })
}

export function getMyComplaint(query) {
    return request({
        url: "/qdjx/student/getMyComplaint.do",
        method: "get",
        query
    })
}

